/*
 * Copyright (c) Dino Octavian.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License, Version 2.0
 * which accompanies this distribution, and is available at
 * http://www.apache.org/licenses/LICENSE-2.0.txt
 * 
 * Contributors:
 *      Dino Octavian - initial API and implementation
 */
package gloodb.impl;

/**
 * Interface for repository administration.
 * 
 */
public interface RepositoryAdmin {
    /**
     * Flushes the LRU object from the cache up to the specified percentage.
     * @param percentage Percentage of objects to flush from cache (between 0 and 100).
     */
    void flushCache(int percentage);
    
    /**
     * Takes a repository snapshot.
     */
    void takeSnapshot();
}
